package com.hotel.tv.entities.auth.query;

import com.autumn.mybatis.mapper.annotation.ViewTable;
import com.autumn.zero.authorization.entities.defaulted.DefaultRole;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Table;

/**
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-04-10 10:55
 **/
@ToString(callSuper = true)
@Getter
@Setter
@Table
@ViewTable
public class HotelRoleByUserQuery extends DefaultRole {

    /**
     * 字段 userId
     */
    public static final String FIELD_USER_ID = "userId";

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户类型 {@link com.hotel.tv.constants.HotelUserTypeConstant}
     */
    private Integer userType;

    /**
     *
     */
    private Long organizeId;
}
